import 'package:flutter/material.dart';
import 'package:ytbusiness/config/icon_list.dart';

/// 支付方式
class PayType with ChangeNotifier {
  String _name = "账户余额";
  String _image = IconList.balance;

  ///
  String get name => _name;

  ///
  String get image => _image;

  /// 切换支付方式
  void upPayType({String name, String image}) {
    _name = name;
    _image = image;
    notifyListeners();
  }
}
